package com.zxm.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserBodyInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public UserBodyInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userid is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userid is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userid =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userid <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userid >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userid >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userid <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userid <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userid in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userid not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userid between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userid not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUserWeightIsNull() {
            addCriterion("user_weight is null");
            return (Criteria) this;
        }

        public Criteria andUserWeightIsNotNull() {
            addCriterion("user_weight is not null");
            return (Criteria) this;
        }

        public Criteria andUserWeightEqualTo(String value) {
            addCriterion("user_weight =", value, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightNotEqualTo(String value) {
            addCriterion("user_weight <>", value, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightGreaterThan(String value) {
            addCriterion("user_weight >", value, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightGreaterThanOrEqualTo(String value) {
            addCriterion("user_weight >=", value, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightLessThan(String value) {
            addCriterion("user_weight <", value, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightLessThanOrEqualTo(String value) {
            addCriterion("user_weight <=", value, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightLike(String value) {
            addCriterion("user_weight like", value, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightNotLike(String value) {
            addCriterion("user_weight not like", value, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightIn(List<String> values) {
            addCriterion("user_weight in", values, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightNotIn(List<String> values) {
            addCriterion("user_weight not in", values, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightBetween(String value1, String value2) {
            addCriterion("user_weight between", value1, value2, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserWeightNotBetween(String value1, String value2) {
            addCriterion("user_weight not between", value1, value2, "userWeight");
            return (Criteria) this;
        }

        public Criteria andUserBustIsNull() {
            addCriterion("user_bust is null");
            return (Criteria) this;
        }

        public Criteria andUserBustIsNotNull() {
            addCriterion("user_bust is not null");
            return (Criteria) this;
        }

        public Criteria andUserBustEqualTo(String value) {
            addCriterion("user_bust =", value, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustNotEqualTo(String value) {
            addCriterion("user_bust <>", value, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustGreaterThan(String value) {
            addCriterion("user_bust >", value, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustGreaterThanOrEqualTo(String value) {
            addCriterion("user_bust >=", value, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustLessThan(String value) {
            addCriterion("user_bust <", value, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustLessThanOrEqualTo(String value) {
            addCriterion("user_bust <=", value, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustLike(String value) {
            addCriterion("user_bust like", value, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustNotLike(String value) {
            addCriterion("user_bust not like", value, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustIn(List<String> values) {
            addCriterion("user_bust in", values, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustNotIn(List<String> values) {
            addCriterion("user_bust not in", values, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustBetween(String value1, String value2) {
            addCriterion("user_bust between", value1, value2, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserBustNotBetween(String value1, String value2) {
            addCriterion("user_bust not between", value1, value2, "userBust");
            return (Criteria) this;
        }

        public Criteria andUserWaistIsNull() {
            addCriterion("user_waist is null");
            return (Criteria) this;
        }

        public Criteria andUserWaistIsNotNull() {
            addCriterion("user_waist is not null");
            return (Criteria) this;
        }

        public Criteria andUserWaistEqualTo(String value) {
            addCriterion("user_waist =", value, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistNotEqualTo(String value) {
            addCriterion("user_waist <>", value, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistGreaterThan(String value) {
            addCriterion("user_waist >", value, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistGreaterThanOrEqualTo(String value) {
            addCriterion("user_waist >=", value, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistLessThan(String value) {
            addCriterion("user_waist <", value, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistLessThanOrEqualTo(String value) {
            addCriterion("user_waist <=", value, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistLike(String value) {
            addCriterion("user_waist like", value, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistNotLike(String value) {
            addCriterion("user_waist not like", value, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistIn(List<String> values) {
            addCriterion("user_waist in", values, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistNotIn(List<String> values) {
            addCriterion("user_waist not in", values, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistBetween(String value1, String value2) {
            addCriterion("user_waist between", value1, value2, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserWaistNotBetween(String value1, String value2) {
            addCriterion("user_waist not between", value1, value2, "userWaist");
            return (Criteria) this;
        }

        public Criteria andUserButtocksIsNull() {
            addCriterion("user_buttocks is null");
            return (Criteria) this;
        }

        public Criteria andUserButtocksIsNotNull() {
            addCriterion("user_buttocks is not null");
            return (Criteria) this;
        }

        public Criteria andUserButtocksEqualTo(String value) {
            addCriterion("user_buttocks =", value, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksNotEqualTo(String value) {
            addCriterion("user_buttocks <>", value, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksGreaterThan(String value) {
            addCriterion("user_buttocks >", value, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksGreaterThanOrEqualTo(String value) {
            addCriterion("user_buttocks >=", value, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksLessThan(String value) {
            addCriterion("user_buttocks <", value, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksLessThanOrEqualTo(String value) {
            addCriterion("user_buttocks <=", value, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksLike(String value) {
            addCriterion("user_buttocks like", value, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksNotLike(String value) {
            addCriterion("user_buttocks not like", value, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksIn(List<String> values) {
            addCriterion("user_buttocks in", values, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksNotIn(List<String> values) {
            addCriterion("user_buttocks not in", values, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksBetween(String value1, String value2) {
            addCriterion("user_buttocks between", value1, value2, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserButtocksNotBetween(String value1, String value2) {
            addCriterion("user_buttocks not between", value1, value2, "userButtocks");
            return (Criteria) this;
        }

        public Criteria andUserHeightIsNull() {
            addCriterion("user_height is null");
            return (Criteria) this;
        }

        public Criteria andUserHeightIsNotNull() {
            addCriterion("user_height is not null");
            return (Criteria) this;
        }

        public Criteria andUserHeightEqualTo(String value) {
            addCriterion("user_height =", value, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightNotEqualTo(String value) {
            addCriterion("user_height <>", value, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightGreaterThan(String value) {
            addCriterion("user_height >", value, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightGreaterThanOrEqualTo(String value) {
            addCriterion("user_height >=", value, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightLessThan(String value) {
            addCriterion("user_height <", value, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightLessThanOrEqualTo(String value) {
            addCriterion("user_height <=", value, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightLike(String value) {
            addCriterion("user_height like", value, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightNotLike(String value) {
            addCriterion("user_height not like", value, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightIn(List<String> values) {
            addCriterion("user_height in", values, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightNotIn(List<String> values) {
            addCriterion("user_height not in", values, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightBetween(String value1, String value2) {
            addCriterion("user_height between", value1, value2, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserHeightNotBetween(String value1, String value2) {
            addCriterion("user_height not between", value1, value2, "userHeight");
            return (Criteria) this;
        }

        public Criteria andUserBmiIsNull() {
            addCriterion("user_BMI is null");
            return (Criteria) this;
        }

        public Criteria andUserBmiIsNotNull() {
            addCriterion("user_BMI is not null");
            return (Criteria) this;
        }

        public Criteria andUserBmiEqualTo(String value) {
            addCriterion("user_BMI =", value, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiNotEqualTo(String value) {
            addCriterion("user_BMI <>", value, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiGreaterThan(String value) {
            addCriterion("user_BMI >", value, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiGreaterThanOrEqualTo(String value) {
            addCriterion("user_BMI >=", value, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiLessThan(String value) {
            addCriterion("user_BMI <", value, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiLessThanOrEqualTo(String value) {
            addCriterion("user_BMI <=", value, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiLike(String value) {
            addCriterion("user_BMI like", value, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiNotLike(String value) {
            addCriterion("user_BMI not like", value, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiIn(List<String> values) {
            addCriterion("user_BMI in", values, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiNotIn(List<String> values) {
            addCriterion("user_BMI not in", values, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiBetween(String value1, String value2) {
            addCriterion("user_BMI between", value1, value2, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserBmiNotBetween(String value1, String value2) {
            addCriterion("user_BMI not between", value1, value2, "userBmi");
            return (Criteria) this;
        }

        public Criteria andUserImgIsNull() {
            addCriterion("user_img is null");
            return (Criteria) this;
        }

        public Criteria andUserImgIsNotNull() {
            addCriterion("user_img is not null");
            return (Criteria) this;
        }

        public Criteria andUserImgEqualTo(String value) {
            addCriterion("user_img =", value, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgNotEqualTo(String value) {
            addCriterion("user_img <>", value, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgGreaterThan(String value) {
            addCriterion("user_img >", value, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgGreaterThanOrEqualTo(String value) {
            addCriterion("user_img >=", value, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgLessThan(String value) {
            addCriterion("user_img <", value, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgLessThanOrEqualTo(String value) {
            addCriterion("user_img <=", value, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgLike(String value) {
            addCriterion("user_img like", value, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgNotLike(String value) {
            addCriterion("user_img not like", value, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgIn(List<String> values) {
            addCriterion("user_img in", values, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgNotIn(List<String> values) {
            addCriterion("user_img not in", values, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgBetween(String value1, String value2) {
            addCriterion("user_img between", value1, value2, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserImgNotBetween(String value1, String value2) {
            addCriterion("user_img not between", value1, value2, "userImg");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeIsNull() {
            addCriterion("user_body_time is null");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeIsNotNull() {
            addCriterion("user_body_time is not null");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeEqualTo(Date value) {
            addCriterion("user_body_time =", value, "userBodyTime");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeNotEqualTo(Date value) {
            addCriterion("user_body_time <>", value, "userBodyTime");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeGreaterThan(Date value) {
            addCriterion("user_body_time >", value, "userBodyTime");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("user_body_time >=", value, "userBodyTime");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeLessThan(Date value) {
            addCriterion("user_body_time <", value, "userBodyTime");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeLessThanOrEqualTo(Date value) {
            addCriterion("user_body_time <=", value, "userBodyTime");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeIn(List<Date> values) {
            addCriterion("user_body_time in", values, "userBodyTime");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeNotIn(List<Date> values) {
            addCriterion("user_body_time not in", values, "userBodyTime");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeBetween(Date value1, Date value2) {
            addCriterion("user_body_time between", value1, value2, "userBodyTime");
            return (Criteria) this;
        }

        public Criteria andUserBodyTimeNotBetween(Date value1, Date value2) {
            addCriterion("user_body_time not between", value1, value2, "userBodyTime");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}